package com.example.demo.service;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/5/16.
 */
public interface EventPublishService {
    /**
     * 查状态为new的数据
     * @return
     */
    List<Map<String,Object>> selectAllDataByNew();

    /**
     * 往队列新增数据并更新状态
     * @return
     */
    public int updateStatus(List<Map<String,Object>> list);
}
